package cn.huiyunche.admin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * main 控制器 
 * @author hdy [Tuffy]
 */
@Controller
@RequestMapping("/main")
public class MainController {

	/**
	 * 首页
	 * @return 视图
	 */
	@RequestMapping
	public ModelAndView index() {
		ModelAndView mav = new ModelAndView();
		mav.setViewName("main-view");
		return mav;
	}
}
